/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ergasia3h;

/**
 *
 * @author user
 */

//Η κλάση Αξιολόγηση 
public class Axiologisi {

// Δήλωση ιδιοτητων    
private int piotita;
private int timi;
private int eksipiretisi;
private Restaurant restaurant;
private EggegrammenosXristis xristis;

//Κατασκευαστής 
public Axiologisi(int piotita,int timi,int eksipiretisi,Restaurant restaurant,
        EggegrammenosXristis xristis){
    this.piotita=piotita;
    this.timi=timi;
    this.eksipiretisi=eksipiretisi;
    this.restaurant=restaurant;
    this.xristis=xristis;
}

//Μέθοδοι get & set για να πάρουμε ή να αλλάξουμε τιμές στις ιδιότητες
public int getPiotita(){
    return piotita;
}
public void setPiotita(int piotita){
    this.piotita=piotita;
}
public int getTimi(){
    return timi;
}
public void setTimi(int timi){
    this.timi=timi;
}
public int getEksipiretisi(){
    return eksipiretisi;
}
public void setEksipiretisi(int eksipiretisi){
    this.eksipiretisi=eksipiretisi;
}
public Restaurant getRestaurant(){
    return restaurant;
}
public void setRestaurant(Restaurant restaurant){
    this.restaurant=restaurant;
}
public EggegrammenosXristis getXristis(){
    return xristis;
}
public void setXristis(EggegrammenosXristis xristis){
    this.xristis=xristis;
}
}
